Local Type Reconstruction by Means of Symbolic Fixed Point Iteration

نویسنده

  • Torben Amtoft
چکیده

We convert, via a version that uses constraints, a type inference system for strictness analysis into an algorithm which given an expression finds the set of possible typings. Although this set in general does not possess a minimal element, it can be represented compactly by means of symbolic expressions in normal form – such expressions have the property that once values for the constraint variables with negative polarity have been supplied it is straight-forward to compute the minimal values for the constraint variables with positive polarity. The normalization process works on the fly, i.e. by a leaf-to-root traversal of the inference tree. 1 Background and Motivation Recently much interest has been devoted to the formulation of program analysis in terms of inference systems, as opposed to e.g. abstract interpretation (for the relationship between those methods see e.g. [Jen91]). This approach is appealing since it separates the question “what is done?” from the question “how is it done?”. Of course, the latter issue (that is, implementation of the inference system) has to be dealt with, and a very popular method (often inspired by [Hen91]) is to (re)formulate the inference system in terms of constraints and then come up with an algorithm for solving these. In this paper we shall continue this trend, the type system in question being one for strictness analysis (the system has also been presented in [Amt93a]). The characteristic features of our approach are: – for constraints we define a notion of normal form which distinguishes between constraint variables according to their polarity (i.e. whether they occur in co/contravariant position in the type). – the constraints are normalized on the fly, that is during a leaf-to-root traversal of the inference tree (as opposed to first collecting them all and then solve them). – during the normalization process, some approximations are made – without losing precision, however, since the approximation only concerns suboptimal solutions. – the normalization process involves symbolic fixed point iteration.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Solving time-fractional chemical engineering equations by modified variational iteration method as fixed point iteration method

The variational iteration method(VIM) was extended to find approximate solutions of fractional chemical engineering equations. The Lagrange multipliers of the VIM were not identified explicitly. In this paper we improve the VIM by using concept of fixed point iteration method. Then this method was implemented for solving system of the time fractional chemical engineering equations. The ob...

متن کامل

Using induction and BDDs to model check invariants

We present an inductive characterization for an invariant to stand in a given finite-state transition system. We show how this characterization can be computed by means of BDD-based operations, without performing a fixpoint iteration over sets of states as the CTL symbolic model checking algorithm does.

متن کامل

Some fixed points for J-type multi-valued maps in CAT(0) spaces

In this paper, we prove the existence of fixed point for J-type multi-valuedmap T in CAT(0) spaces and also we prove the strong convergence theoremsfor Ishikawa iteration scheme without using the xed point of involving map.

متن کامل

New three-step iteration process and fixed point approximation in Banach spaces

‎In this paper we propose a new iteration process‎, ‎called the $K^{ast }$ iteration process‎, ‎for approximation of fixed‎ ‎points‎. ‎We show that our iteration process is faster than the existing well-known iteration processes using numerical examples‎. ‎Stability of the $K^{ast‎}‎$ iteration process is also discussed‎. ‎Finally we prove some weak and strong convergence theorems for Suzuki ge...

متن کامل

Iterative Off-resonance and Signal Decay Correction for Improved Multi-echo Imaging in MRI

Local deviations of the main field and signal decay due to transverse relaxation lead to perturbations of the Fourier encoding commonly applied in magnetic resonance imaging. Hence, images acquired with trajectories having long readout times suffer from artefacts such as blurring, geometric distortion, and intensity inhomogeneity. These effects can be corrected by means of iterative reconstruct...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1994